package com.yzh.service;

/**
 * @author 于振晗
 * @title: player
 * @description: TODO 玩家类
 * @date 2020年08月29日
 * @path com.yzh.service
 */
public abstract class Player {
    private String name;
    private int value;
    private int winCount = 0;

    public Player() {
    }

    public Player(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public int getWinCount() {
        return winCount;
    }

    public void setWinCount(int winCount) {
        this.winCount = winCount;
    }

    //获取出拳的值
    public abstract int getInputValue();
}
